package inheritance;

public class Child extends Father {
	
	// 필드 - 없음
	
	// 생성자
	public Child() {
		System.out.println("I'm a Child!!!");
	}
	
	// 메서드
	public void sayChildNumber() {
		System.out.println("sayChildNumber() 호출");
		for (int i = 20; i < 30; i++) {
			System.out.print(i + " ");
		}
		System.out.println();
	}
	
}
